export default function objectToArray(obj) {
  const result = [];
  for (const key in obj) {
    const temp = {
      label: obj[key],
      value: key,
    }
    result.push(temp);
  }
  return result;
}